package com.zsk.shop.model.results;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @author ljh
 * @create 2022/2/25 16:18
 */
@Data
@ApiModel("用户积分详情返回数据")
public class ShopOrderPointsDetailResult {

    @ApiModelProperty(name = "orderPointsNo", value = "业务主键", dataType = "String")
    private String orderPointsNo;

    @ApiModelProperty(name = "userNo", value = "归属用户", dataType = "String")
    private String userNo;

    @ApiModelProperty(name = "createTime", value = "创建时间", dataType = "Date")
    private Date createTime;

    @ApiModelProperty(name = "sourceOrderNo", value = "来源订单编号", dataType = "String")
    private String sourceOrderNo;

    @ApiModelProperty(name = "snapshotInfo", value = "快照信息（记录来源订单商品内容快照）", dataType = "String")
    private String snapshotInfo;

    @ApiModelProperty(name = "status", value = "冻结状态 0默认 1待解冻 2已解冻 3已使用", dataType = "Integer")
    private Integer status;

    @ApiModelProperty(name = "points", value = "可获积分", dataType = "BigDecimal")
    private BigDecimal points;

    @ApiModelProperty(name = "canUsePoints", value = "当前可用积分", dataType = "BigDecimal")
    private BigDecimal canUsePoints;

    @ApiModelProperty(name = "thawTotalPoint", value = "已解冻总积分", dataType = "BigDecimal")
    private BigDecimal thawTotalPoint;

    @ApiModelProperty(name = "thawPoint", value = "已解冻积分", dataType = "BigDecimal")
    private BigDecimal thawPoint;

    @ApiModelProperty(name = "thawWaitPoint", value = "待解冻积分", dataType = "BigDecimal")
    private BigDecimal thawWaitPoint;

    @ApiModelProperty(name = "ratio", value = "已解冻现金", dataType = "BigDecimal")
    private BigDecimal thawMoney;

    @ApiModelProperty(name = "ratio", value = "已解冻比例", dataType = "BigDecimal")
    private BigDecimal ratio;

    @ApiModelProperty(name = "list", value = "解冻列表")
    private List<PointThawDetailResult> list;

    @ApiModelProperty(name = "useOrderNo", value = "使用订单编号", dataType = "String")
    private String useOrderNo;

    @ApiModelProperty(name = "buyShopOrder", value = "使用订单内容")
    private ShopOrderInfoResult buyShopOrder;

}
